package com.demo1;

public class CodeBlockDemo1 {
    public static void main(String[] args) {
        {
            int a = 10;
        }//因为当代码执行到这里时，变量a就从内存中消失了
        //System.out.println(a);

        Student student = new Student();
        Student student2 = new Student("张三",23);
    }
}
